package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.product.ProductDto;
import com.atguigu.spzx.model.entity.product.Product;
import com.atguigu.spzx.model.vo.product.ProductVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * title:
 * author: zgl
 * date: 2024/1/6
 * description：
 */
@Mapper
public interface ProductMapper {
    List<ProductVo> getList(ProductDto productDto);

    void save(Product product);

    Product getById(Long id);

    void updateById(Product product);
}
